#ifndef BLOCKHITABILITYVISITOR_H
#define BLOCKHITABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "Direction.h"

class BlockHitAbilityVisitor: public GameAbilityVisitor
{
public:
	BlockHitAbilityVisitor();
	virtual ~BlockHitAbilityVisitor();

	virtual void Visit(BlockHitAbility& ability);

	bool FoundAbility() const;
	const Direction& BlockDirection() const;

protected:
private:
	bool found;
	Direction blockDirection;
};

#endif //BLOCKHITABILITYVISITOR_H
